#ifndef THREADPLAY_H
#define THREADPLAY_H

#include <QThread>
#include "midi.h"
#include <windows.h>
#include <mmsystem.h>

class threadplay : public QThread
{
public:
    threadplay();
    threadplay(track a,HMIDIOUT hdl);
    void sleepplay();
    void run();
private:
    vector<note> trackNotes;
    int cNote;
    HMIDIOUT handle;
};

#endif // THREADPLAY_H
